package com.dkd.applet.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dkd.applet.domain.Order;
import com.dkd.applet.domain.dto.PayDto;

public interface OrderService extends IService<Order> {
    /**
     * 订单创建
     *
     * @param payDto
     * @param platform
     * @return
     */
    Order createOrder(PayDto payDto, String platform);

    /**
     * 根据订单号查询订单
     *
     * @param orderNo
     * @return
     */
    Order getByOrderNo(String orderNo);
}
